package cn.com.fstar.core;

/**
 * 代码常量类
 * 
 * @author
 * 
 */
public class CodeConstant {

    /**
     * 超级管理员登陆用户名
     */
    public static final String SUPER_USER_LOGIN_NAME = "admin";

    /** 用户状态：正常 */
    public static final String USER_STATE_NORMAL = "1";
    /** 用户状态：删除 */
    public static final String USER_STATE_DELETE = "9";

    public static final String AJAX_RESULT_FAIL = "0";// 失败
    public static final String AJAX_RESULT_SUCCESS = "1";// 失败
    public static final String ACCESABLE_IMAGE_TYPE = "1";// 失败

    /** 非内置角色标识 */
    public static final Integer ROLE_ISNOT_BUILDIN = 0;

    /** 内置角色标识 */
    public static final Integer ROLE_IS_BUILDIN = 1;

    public static final String EXPORT_OPERATION = "导出";// 导出
    public static final String ADD_OPERATION = "添加";// 增加操作
    public static final String SELECT_OPERATION = "查询";// 查询操作
    public static final String DELETE_OPERATION = "删除";// 删除操作
    public static final String DROP_FILE_OPERATION = "文件删除";// 删除操作
    public static final String FILE_UPLOAD_OPERATION = "文件上传操作";// 删除操作
    public static final String EDIT_OPERATION = "编辑";// 修改操作
    public static final String CONNECT_OPERATION = "远程连接";// 连接

    public static final String NOMAL = "正常";// 正常
    public static final String CONNECT_OFF = "中断";// 中断

    public static final String OUTLINK = "非外链";// 外链
    public static final String NOTOUTLINK = "外链";// 外链

    public static final String CONTSTATUS_NOTSENTED = "未发布";// 未发布
    public static final String CONTSTATUS_SENT = "发布";// 未发布
    public static final String CONTSTATUS_DELETE = "删除";// 未发布
}